home *** CD-ROM | disk | FTP | other *** search
/ Super PC 34 / Super PC 34 (Shareware).iso / spc / UTIL / DJGPP2 / V2 / DJLSR200.ZIP / src / libc / ansi / math / acosh.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-29  |  151 b   |  9 lines

  1. /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
  2. #include <math.h>
  3.  
  4. double
  5. acosh(double x)
  6. {
  7.   return log(x + sqrt(x*x - 1));
  8. }
  9.